Repository navigation
Hall UX: wider portrait view, card only for cabinets in sight, quieter help - #110
Merged
Merged
Conversation
…r help - Portrait phones draw with a widened vertical fov (HallWalk.viewFov: at least 66 degrees across, capped at 100 vertical) so an aisle shows screens, not sides. - HallWalk.near needs the visitor to face a cabinet (~73 deg); one they chose to walk to stays offered unless behind them (the walk never turns the view). - Help opens by itself on a first visit only and closes on the first walk/look. - Phone bar hides the clipped "where" line up to 480 px. - hall_ui_check: step back to the door before the map on a phone; tap a figure where nothing stands in front of it, turning to face it after a few tries. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LYNeuoaYC1Xr17cu7rARyR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Four changes to the walkable hall (
/hall/, arcade.danielstephenson.dev), found by walking it in a browser on desktop and on an iPhone 13 profile.Changes
HallWalk.viewFov(fov, aspect)widens the vertical fov on a tall view so it keeps at least 66° across (capped at 100°). The engine, the click/tap picker, the people layer and the play dolly (screenPose) all use it, and it is re-sent when the view changes shape. Landscape screens and the Field of view setting are unchanged. The portrait stand-off at a cabinet goes from 1.9 m to 1.55 m to suit.HallWalk.nearused to offer a cabinet beside the visitor, outside the view (walking past Familiar showed its card). Now the visitor must face it, within about 73°. The walk to a chosen cabinet (click, tap, Tab, map) never turns the view (no auto-turn), so that cabinet stays offered unless it is behind the visitor or they walk off themselves.arcade-hall.helped), and it closes on the first walk or look. "?" still opens it.Tests
tests/browser/hall_walk_test.cjs: new tests for facing, the walked-to exception andviewFov.python -m pytest: 706 passed, 1 skipped.tools/hall_dev_server.py(swiftshader):hall_ui_check,hall_people_check,hall_atmosphere_checkandhall_fame_checkall pass.hall_ui_checkneeded two test fixes caused by the wider phone view. The floor tap now walks further and ends at a cabinet, where a phone hides the map on purpose, so the check steps back to the door first. Its replay-figure tap now tries points up and down the figure and, after a few tries, turns to face it, the same way the far-person step already did.hall_play_checkandhall_replays_checkalso fail on unmodifiedmainlocally (live-game 403s / replay timing), so those failures do not come from this branch.Before / after (iPhone 13, from the door): the aisle now shows the env-lib-cpp and Tidewater screens instead of two cabinet sides.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LYNeuoaYC1Xr17cu7rARyR
drafted by Claude on behalf of Daniel Stephenson